package com.relman.util {
    import com.adobe.cairngorm.control.CairngormEvent;
    import com.adobe.cairngorm.control.CairngormEventDispatcher;
    import com.relman.util.DebugUtils;

    public class CairngormUtils {
        public static function dispatchEvent(
            eventName : String,
            data : Object = null) : void
        {
        	DebugUtils.debug("event " + eventName + " being fired");
            var event : CairngormEvent = new CairngormEvent(eventName);
            event.data = data;
            CairngormEventDispatcher.getInstance().dispatchEvent(event);
        }
    }
}
